package es.udc.emarketapp.emarket.model.purchase.purchaseFacade.vo;

import es.udc.emarketapp.emarket.model.purchase.vo.PurchaseVO;
import java.io.Serializable;
import java.util.List;


public class PurchaseChunkVO implements Serializable {
	

	private static final long serialVersionUID = 1L;
	private List<PurchaseVO> purchaseVOs;
	private boolean existMorePurchases;
	
	public PurchaseChunkVO(List<PurchaseVO> purchaseVOs, 
		boolean existMorePurchases) {
		
		this.purchaseVOs = purchaseVOs;
		this.existMorePurchases = existMorePurchases;
	}

	public List<PurchaseVO> getPurchaseVOs() {
		return purchaseVOs;
	}

	public boolean getExistMorePurchases() {
		return existMorePurchases;
	}

	public String toString() {
		return "PurchaseChunkVO [existMorePurchases=" + existMorePurchases
				+ ", PurchaseVOs=" + purchaseVOs + "]";
	}
	
	
		
}
